<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:a4j="http://richfaces.org/a4j">

<ui:composition template="/views/templates/main.xhtml">
	<ui:define name="body">
		<style>
.navigation .rf-tab-hdr-brd,.navigation .rf-tab {
	display: none;
}
</style>
		<h:outputStylesheet>
.label {
    font-weight: bold;
}
.rf-dg, .rf-dg-c{
    border:none;
}
.pbody {
    width: 180px;
}
</h:outputStylesheet>		
		<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
		    <h:outputText value="Monto a depositar:" />
			<h:inputText value="#{paypalBean.amount}" id="amount_1" validatorMessage="Nombre incorrecto">
				<f:param name="amount_1" value="#{paypalBean.amount}" />
			</h:inputText>
			<input name="cmd" value="_cart" type="hidden" />
			<input name="upload" value="1" type="hidden" />
			<input type="hidden" name="business" value="#{paypalBean.business}"/>
			<input type="hidden" name="currency_code" value="#{paypalBean.currency}"/>
			<input type="hidden" name="return" value="#{paypalBean.returnSuccess}" />
			<input type="hidden" name="cancel_return" value="#{paypalBean.cancelReturn}"/>	
			<input type="hidden" name="notifyURL" value="#{paypalBean.notifyURL}"/>		
			<input name="rm" value="2" type="hidden" />
			<input type="hidden" name="item_name_1" value="#{paypalBean.productDescription}" />				
			<input value="Realizar Transferencia" type="submit" alt="PayPal, la forma más segura y rápida de pagar en línea." />
		</form>  
</ui:define>
</ui:composition>
</html>